package org.celery.modules.goods.service.impl;

import org.celery.modules.goods.entity.GoodsStyle;
import org.celery.modules.goods.vo.GoodsStyleVO;
import org.celery.modules.goods.mapper.GoodsStyleMapper;
import org.celery.modules.goods.service.IGoodsStyleService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 商品款式表 服务实现类
 *
 * @author Celery
 * @since 2022-03-30
 */
@Service
public class GoodsStyleServiceImpl extends BaseServiceImpl<GoodsStyleMapper, GoodsStyle> implements IGoodsStyleService {

	@Override
	public IPage<GoodsStyleVO> selectGoodsStylePage(IPage<GoodsStyleVO> page, GoodsStyleVO goodsStyle) {
		return page.setRecords(baseMapper.selectGoodsStylePage(page, goodsStyle));
	}

}
